
@font-face {
  font-family: 'MasonChronicles';
  src:url('../fonts/MasonChronicles.woff2') format('woff2'),
      url('../fonts/MasonChronicles.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}




body{
	background-color:#141218;
	font-family: 'Roboto',sans-serif;
    font-style:normal;
    font-weight:normal;
    color: #FFFFFF;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
     background-image:url(../img/background.jpg);
    background-repeat:no-repeat;
    background-position:top right 20%;
   }
.container{
	width:95%;
	max-width:1140px;
	margin:0 auto;	
}

.header{
	display:flex;
	align-items:center;
	justify-content:space-between;
    padding-top:60px;
    margin-bottom: 90px;
}
.menu-list{
	margin-right: auto;
	margin-left:67px;
}
.menu-link{

font-size: 14px;
line-height: 16px;
color: #FFFFFF;
text-decoration: none;
margin-left:24px;
font-family:'Roboto',sans-serif;
}
.social-link{
	margin-left:20px;
	text-decoration:none;
}
.genre{
	font-family:'Roboto',sans-serif;
	font-size: 14px;
    line-height: 16px;
    margin-bottom:16px;
    display:block;
    animation-delay:0.1s;
}
.rating{
	display: flex;
	align-items:center;
	margin-bottom:10px;
	animation-delay:0.3s;
}
.rating-number{
	font-family:'Roboto',sans-serif;
	font-size:12px;
	line-height:14px;
	margin-left:9px;
}
.main-title{
font-family: 'MasonChronicles', serif;	
font-weight: 500;
font-size: 76px;
line-height: 89px;
margin-bottom:10px;
animation-delay:0.5s;
}
.main-description{
	font-family:'Roboto',sans-serif;
	max-width:458px;
	font-size: 14px;
    line-height: 150%;
    margin-bottom:40px;
    animation-delay: 0.7s;
}
.button{
display:inline-block;
background: #9D2929;
border-radius: 8px;
color:#FFFFFF;
border:none;
padding:22px 72px;
text-decoration: none;
animation-delay: 1s;
}
.button:active{
	color: #FFFFFF;
}
.main-content{
 display:flex;
 align-items:center;
 margin-bottom:85px;
} 
.play{
	display: flex;
	align-items: center;
	justify-content: center;
	background-color:#9D2929;
	width:100px;
	height:100px;
	border-radius:50%;
	border:none;
	position:relative;
	margin:auto; 
}
.play:before{
  content:'';
  width:132px;
  height:132px;
  background-color:#9D2929;
  opacity:0.5;
  position:absolute;
  border-radius:50%;
  left:-16px;
  top:-16px;
  animation: pulse 0.5s ease-in-out 2s infinite;
}
.play-image{
   position:relative;
   transform:translateX(5px);

}
/* Slider */
.card{
width: 164px;
height: 113px;
border-radius: 8px;
display:flex;
flex-direction:column;
justify-content: flex-end;
padding:13px;
margin-right:30px;
}
.card-subtitle{
	font-size:10px;
	line-height: 12px;
	font-family:'Roboto',sans-serif;
}
.card-title{
	font-weight: bold;
	font-size: 14px;
	line-height: 16px;
	font-family:'Roboto',sans-serif;
}
.series{
	display:flex;
	align-items:center;
	margin-bottom:60px;
	position:relative;
	max-width:420px;
}
.series-1{
	background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url(../img/series/card-image.png);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}
.series-2{
	background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url(../img/series/card-image1.png);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}
.series-3{
	background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url(../img/series/card-image2.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}
.series-4{
	background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url(../img/series/card-image3.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}
.series-5{
	background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url(../img/series/card-image4.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}
.series-6{
	background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url(../img/series/card-image5.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}
.series-7{
	background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url(../img/series/card-image6.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}
.series-8{
	background: linear-gradient(180deg, rgba(20, 18, 24, 0.5) 0%, #2D2D2D 100%), url(../img/series/card-image7.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}
.errow{
	width:32px;
	height:23px;border: none;
	background-image: url(../img/arrow.svg);
	background-repeat:no-repeat;
	background-position: center;
	background-color:transparent;
	position: absolute;
	top: 50%;
	right:-32px;

}
.swiper-container{
	max-width:420px;
	margin-left:0; 
}
/* footer */
 .footer{
	background-color:#141218; 
	padding:20px 0;
	margin-top:auto;
}
.footer-content{
	display:flex;
	align-items:center;
	justify-content:space-between;
}
.footer-link{
	font-family:'Roboto',sans-serif;
	text-decoration:none;
	color:#3A383D;
	margin-left:20px;
}
.copyright{
	font-family:'Roboto',sans-serif;
	color:#3A383D;
}
.menu-button{
	display:none;
	cursor:pointer;
}
/* responsiv */
@media (max-width:760px){
	.play{
		display:none;
	}
	.footer-content{
		flex-direction:column;
		align-items:flex-start;
	}
	.copyright{
		display:block;
		margin-bottom:8px;
	}
	.footer-link:first-child{
		margin-left:0;
	}
}
@media (max-width:540px){
	.menu-button{
		display: block;
		position: absolute;
		right: 35px;
		top: 40px;
		width: 30px;
		height: 2px;
		background-color:#fff; 
		border: none;
	} 
	.menu-button:before{
		content:'';
		display:block;
		position:absolute;
		width:30px;
		height:2px;
		background-color:#fff;
		transition: transform 0.2s;
		margin-top:-7px;
	}
	.menu-button:after{
		content:'';
		display:block;
		position:absolute;
		top:0;
		left:0;
		width:30px;
		height:2px;
		background-color:#fff;
		transition: transform 0.2s;
		margin-top:7px;
	} 
	.menu-button-active{
		height: 0;

	}
	.menu-button-active:before{
		transform: rotate(45deg);
		margin-top: 0;
	}
	.menu-button-active:after{
		transform: rotate(-45deg);
		margin-top: 0;
	}
	.header{
		display: none;
		flex-direction:column;
		position:absolute;
		right:0;
		top:0;
		background-color:#9D2929;
		width:250px;
		padding-bottom: 40px;
	}
	.header-active{
		display: block;
	}
	.logo{
		padding-left:110px;
		margin-bottom: 25px;
	}

	.menu-list{
		margin:auto;
		order:2;
		display: flex;
		flex-direction: column;
		align-items: center;
	} 
	.menu-link{
		margin-right:0;
		margin-bottom: 17px;
	}  
	.social{
		order:1;
		margin-left:80px;
		margin-bottom: 22px; 
 
	}

	.social-link:first-child{
		margin-left:0;
	}
	.swiper-container{
		width:80%;
	}
	.main-content{
		margin-top: 196px;
	}
	.main-title{
		font-size: 56px;
	}
	.series{
		width:80%;
	}

}